<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/1
 * Time: 16:54
 */

if (!defined('IN_DISCUZ')) {
    exit('Access Denied');
}

//根据id查询原来的数据,读取在列表中
//$_GET['activity_id']  id
$getData = C::t("#zhibo#zhibo")->getByIdDetails($_GET['activity_id']);  //获取信息


//$postData = [
//    'name'=>$_POST['name'],
//    'start'=>$_POST['start'],
//    'end'=>$_POST['end'],
//    'outputRate'=>json_decode($_POST['outputRate']),
//    'logo'=>$_FILES['image1']['name']
//];
//$where = [
//  'id' =>  $_GET['activity_id']
//];
//print_r($_POST);
//
//print_r($_FILES);
//
//DB::update('table',$postData,$where);



//获取到的数据发送到  模版中
include(template('zhibo:edit'));






echo '编辑';